package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.ProductType;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IProductTypeService {
    List<ProductType> list();

    PageInfo<ProductType> page(BaseRequest baseRequest);

    void save(ProductType productType);

    ProductType getById(Integer id);

    void update(ProductType productType);

    void deleteById(Integer id);

}
